package com.scau.repository;

import com.scau.entity.User;

import java.util.List;

public interface UserRepository {

    public List<User> findAll(int index, int limit);
    public User findById(int id);
    public User login(int id,String password,int type);
    public void save(User user);
    public int count();
    public void changeLogoRul(User user);
    public void update(User user);
}
